package cn.com.chengmandian.sls.pojo;

import cn.com.chengmandian.sls.constants.BatteryLogType;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class BatteryLogData {
    private String type = BatteryLogType.OTHER.name();

    private String productKey;

    private String deviceNo;

    private String data;

    private String message;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
